vector projection and scalar projection